<?php /* Smarty version Smarty-3.1.21-dev, created on 2014-12-14 17:10:57
         compiled from "template\page\welcome.html" */ ?>
<?php /*%%SmartyHeaderCode:9833548b231e745890-23994114%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd09eb377899301e2a82b8ce77fbb9b7b6145c1d3' => 
    array (
      0 => 'template\\page\\welcome.html',
      1 => 1418573444,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '9833548b231e745890-23994114',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_548b231e768b24_60391885',
  'variables' => 
  array (
    'pro' => 0,
    's' => 0,
    'cookie' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_548b231e768b24_60391885')) {function content_548b231e768b24_60391885($_smarty_tpl) {?><div class="container">

        <!-- Jumbotron Header -->
        <header class="jumbotron hero-spacer">
            <h1>A Warm Welcome!</h1>
            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsa, ipsam, eligendi, in quo sunt possimus non incidunt odit vero aliquid similique quaerat nam nobis illo aspernatur vitae fugiat numquam repellat.</p>
            <p><a class="btn btn-primary btn-large">Call to action!</a>
            </p>
        </header>

        <hr>

        <!-- Title -->
        <div class="row">
            <div class="col-lg-12">
                <h3>Latest Features</h3>
            </div>
        </div>
        <!-- /.row -->

        <!-- Page Features -->
        <?php  $_smarty_tpl->tpl_vars['s'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['s']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['pro']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['s']->key => $_smarty_tpl->tpl_vars['s']->value) {
$_smarty_tpl->tpl_vars['s']->_loop = true;
?>
        <div class="text-center">
            <div class="col-md-3 col-sm-6 hero-feature">
                <div class="thumbnail">
                    <img src="<?php echo $_smarty_tpl->tpl_vars['s']->value['img'];?>
" alt="">
                    <div class="caption">
                        <h3><?php echo $_smarty_tpl->tpl_vars['s']->value['nama'];?>
</h3>
                        <p><?php echo $_smarty_tpl->tpl_vars['s']->value['deskripsi'];?>
</p>
                        <p>
                            <a href="cart.php?a=buy&idproduk=<?php echo $_smarty_tpl->tpl_vars['s']->value['idproduk'];?>
&idmember=<?php echo $_smarty_tpl->tpl_vars['cookie']->value['c_idm'];?>
" onclick = "myFunction()" class="btn btn-primary">Buy Now!</a>
                            <a href="#" class="btn btn-default"><?php echo $_smarty_tpl->tpl_vars['s']->value['harga'];?>
</a>
                        </p>
                    </div>
                </div>
            </div>
        </div>
        <?php } ?>
        <!-- /.row -->

        <hr>

        <!-- Footer -->

<?php echo '<script'; ?>
>
function myFunction() {
    alert("Produk telah masuk ke daftar pemesanan\nsilahkan konfirmasi pembelian");
}
<?php echo '</script'; ?>
>

    </div><?php }} ?>
